package ee.ttu.agent.smartHouse.util;

import jade.lang.acl.MessageTemplate;

public class MessageTemplateBuilder {
	
	/**
	 * @param performative ACLMessage.*
	 * @param ontology
	 * @return
	 */
	public static MessageTemplate buildTemplate(int performative, String ontology){
		return MessageTemplate.and(
				MessageTemplate.MatchPerformative(performative),
				MessageTemplate.MatchOntology(ontology));
	}
	
}
